
**************************************************************************************************************************
*** The following code has been modified in order to replicate the econometric specification underpinning
* 		the original table by adding the gender interaction.
**************************************************************************************************************************
	
		maketable_t2  Trim_Income log_Income   Trim_Profits_30Days log_Profits  if  Survey_Version!=5 &  Done==1 , /// 
		spec11( Male_WinnerQuintRankNS) ///
		spec21( Male_WinnerQuintRankNS_Tercile_3 Male_WinnerQuintRankNS_Tercile_2) ///
		cont($controls) ///
		table("${outtex}${date}_Returns_NoSelfRank_gender.tex") ///
		het(Male_WinnerQuintRankNS)   ///
		type(tex) /// 
		footnote($footnote_t2_gender) ///
		prehead1($prehead1) prehead2($prehead2) /// 
		postheadpa("\hline \rule{0pt}{3ex} \hspace{-.16in}  \it{Panel A: Average MR Rank Value} \vspace{.05in} \\") ///
		postheadpb("\\ \hspace{-.1 in} \it{Panel B: Average MR Rank Tercile} \vspace{.05in} \\") ///
		title("Heterogeneity by Gender (based on Table 2 in Hussam et al. (2022b))") label(rankmreffectfe_gender)
		
			
/* The original code was as follows:
		maketable_t2  Trim_Income log_Income   Trim_Profits_30Days log_Profits  if  Survey_Version!=5 &  Done==1 , /// 
		spec11( Winner_Quint_Rank_NS  ) ///
		spec21( Winner_Quint_Rank_NS_Tercile_3 Winner_Quint_Rank_NS_Tercile_2  ) ///
		cont($controls) ///
		table("${outtex}${date}_Returns_NoSelfRank.tex") ///
		het(Winner_Quint_Rank_NS)   ///
		type(tex) /// 
		footnote("$footnote_s2 $footnote_d2  $footnote_o2" ) ///
		prehead1($prehead1) prehead2($prehead2) /// 
		postheadpa("\hline \rule{0pt}{3ex} \hspace{-.16in}  \it{Panel A: Average MR Rank Value} \vspace{.05in} \\") ///
		postheadpb("\\ \hspace{-.1 in} \it{Panel B: Average MR Rank Tercile} \vspace{.05in} \\") ///
		title("Do Peer Reports Predict True Marginal Returns to the Grant?") label(rankmreffectfe)
		
	*/	
